fix notification of QDockWidget when it gets undocked
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 16 Apr 2020 17:05:12 +0000 (18:05 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 16 Apr 2020 17:05:12 +0000 (18:05 +0100)
commit1f90363374542a52c037bf318470631a0e4b370f
treed1e129063edfd87d462af28942ad860d713b7ff2
parente83ee69410cf02cc10adac24965dce8c1644e1d2
fix notification of QDockWidget when it gets undocked

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=06b8644953fc5267
Last-Update: 2019-06-14

Before the patch the notification was emitted only when the docker
was attached to the panel or changed a position on it.

It looks like the old behavior was documented in a unittest,
so this patch might actually be a "behavior change".

Note: https://mail.kde.org/pipermail/distributions/2019-April/000317.html

Gbp-Pq: Name qdockwidget_undocked_notification.diff
src/widgets/widgets/qdockwidget.cpp
tests/auto/widgets/widgets/qdockwidget/tst_qdockwidget.cpp